﻿#define Expection
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Xml;
using UmcProvider.Controls;
using UmcProvider;
using System.Design;
using System.Reflection;

namespace ChinaTelecom.SmartPhone.Controls
{
#if Expection   //if reserve mode
    //Add the properties expected to be reserved
    public interface IRescoTabControlExpection : IUmc
    {
        string Name { get; }
        bool Enabled { get; }
        bool Visible { get; }
        Size Size { get; }
        Point Location { get; }
        Color BackColor { get; }
        //Bitmap BackgroundImage { get; }
        Font Font { get; }
        Color ForeColor { get; }
        Size ToolbarSize { get; }
    }
    public interface IRescoTabControl : IRescoTabControlExtension, IRescoTabControlExpection { }
    [Designer(typeof(UmcDesigner<IRescoTabControl>))]
#else                 //if exclude mode
    //Add the Properties to be excluded here
    [ExcludeProperty]
    public interface IRescoTabControlExculde :  IUmc
    {

    }
    public interface IRescoTabControl : IRescoSmartGridExtension, IRescoTabControlExculde { }
    [Designer(typeof(UmcDesigner<RescoTabControl>))]
#endif
    [ToolboxBitmap(typeof(Resco.Controls.CommonControls.TabControl), "TabControl.bmp")]
    public sealed class RescoTabControl : Resco.Controls.CommonControls.TabControl, IRescoTabControl
    {
    }

    //Add Extension Properties here , and Implement in Inheritance class
    public interface IRescoTabControlExtension
    {

    }

    public sealed class UmcRescoTabControl : DefaultConverter<UmcRescoTabControl, RescoTabControl>, IRescoTabControl
    {
        #region Hidden
        public string Name
        {
            get { throw new NotImplementedException(); }
        }

        public bool Enabled
        {
            get { throw new NotImplementedException(); }
        }

        public bool Visible
        {
            get { throw new NotImplementedException(); }
        }

        public Size Size
        {
            get { throw new NotImplementedException(); }
        }

        public Point Location
        {
            get { throw new NotImplementedException(); }
        }

        public Color BackColor
        {
            get { throw new NotImplementedException(); }
        }

        //public Bitmap BackgroundImage
        //{
        //    get { throw new NotImplementedException(); }
        //}

        public Font Font
        {
            get { throw new NotImplementedException(); }
        }

        public Color ForeColor
        {
            get { throw new NotImplementedException(); }
        }

        public Size ToolbarSize
        {
            get { throw new NotImplementedException(); }
        }

        #endregion
    }
}